package com.zx.mes.test.hyl.feign;

import com.zx.mes.test.hyl.feign.impl.HelloClientFallback;
import com.zx.mes.test.hyl.feign.impl.HelloClientFallbackFactory;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//@FeignClient(name = "yun-test2",fallback = HelloClientFallback.class)
@FeignClient(name = "yun-test2",fallbackFactory = HelloClientFallbackFactory.class)
public interface HelloClient {
    @GetMapping("/hello/hi")
    String hi();
}

